"""manager URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/dev/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from django.conf.urls import url
from app import views

urlpatterns = [
    # path('admin/', admin.site.urls),
    # 登录首页
    url(r'^$', views.login),
    url(r'^index.html', views.index),
    url(r'^login.html', views.login),
    # 登录界面窗口设置
    url(r'^design.html', views.design),
    url(r'^design_submit', views.design_submit),
    # 桌面壁纸
    url(r'^theme.html', views.theme),
    url(r'^theme_use.html', views.theme_use),
    url(r'^theme_detail.html', views.theme_detail),
    url(r'^theme_delete.html', views.theme_delete),
    url(r'^theme_upload', views.theme_upload),
    # 角色
    url(r'^role.html', views.role),
    url(r'^role_user.html', views.role_user),
    url(r'^role_insert.html', views.role_insert),
    url(r'^role_edit.html', views.role_edit),
    url(r'^role_del.html', views.role_del),
    url(r'^role_menu.html', views.role_menu),
    url(r'^role_data.html', views.role_data),
    # 菜单
    url(r'^menu_edit.html', views.menu_edit),
    url(r'^menu.html', views.menu),
    url(r'^menu_insert.html', views.menu_insert),
    url(r'^menu_detail.html', views.menu_detail),
    url(r'^menu_del.html', views.menu_del),
    # 用户
    url(r'^user.html', views.user),
    url(r'^user_insert.html', views.user_insert),
    url(r'^user_detail.html', views.user_detail),
    url(r'^user_edit.html', views.user_edit),
    url(r'^user_del.html', views.user_del),
    url(r'^user_data.html', views.user_data),
    url(r'^menu_data.html', views.menu_data),
    # 日志
    url(r'^log.html', views.log),
    url(r'^log_data.html', views.log_data),
    url(r'^data_rights.html', views.data_rights),
    url(r'^menu_grant.html', views.menu_grant),
    url(r'^403.html', views.no_permission),
    # 个人资料
    url(r'^single.html', views.single),
    url(r'^pwd_edit.html', views.pwd_edit),
    url(r'^image_upload', views.image_upload),
    url(r'^information.html', views.information),
    url(r'^information_data', views.information_data),
    url(r'^information_del.html', views.information_del),
    url(r'^information_batch_del', views.information_batch_del),
    url(r'^information_batch_read', views.information_batch_read),
    url(r'^information_update.html', views.information_update),
    # 船票管理
    url(r'^ticket.html', views.ticket),
    url(r'^ticket_data.html', views.ticket_data),
    url(r'^ticket_detail.html', views.ticket_detail),
    url(r'^ticket_insert.html', views.ticket_insert),
    url(r'^ticket_edit.html', views.ticket_edit),
    url(r'^ticket_del.html', views.ticket_del),
    # 购票管理
    url(r'^ticket_buy.html', views.ticket_buy),
    url(r'^buy_tickets.html', views.buy_tickets),
    # 订单管理
    url(r'^ticket_order.html', views.ticket_order),
    url(r'^ticket_order_data.html', views.ticket_order_data),
    url(r'^ticket_order_detail.html', views.ticket_order_detail),
    url(r'^ticket_order_del.html', views.ticket_order_del),
    # 退票
    url(r'^ticket_back.html', views.ticket_back),
    url(r'^ticket_back_del.html', views.ticket_back_del),
    # 可视化
    url(r'^home.html', views.home),
    path("map_data", views.map_data),
    path("bar_data", views.bar_data),
    path("sex_data", views.sex_data),
    path("holiday_data", views.holiday_data),
    path("boat_month", views.boat_month),
    path("boat_year", views.boat_year),
    path("agent_data", views.agent_data),
    path("day_data", views.day_data),

]
